package xcu.lxj.nettychat.chat.domain.vo.response;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import xcu.lxj.nettychat.user.domain.enums.ChatActiveStatusEnum;

import java.util.Date;


@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Schema(name = "群成员列表的成员信息")
public class ChatMemberResp {
    @Schema(description = "uid")
    private Long uid;
    /**
     * @see ChatActiveStatusEnum
     */
    @Schema(description = "在线状态 1在线 2离线")
    private Integer activeStatus;

    /**
     * 角色ID
     */
    @Schema(description = "角色ID")
    private Integer roleId;

    @Schema(description = "最后一次上下线时间")
    private Date lastOptTime;
}
